
{% load staticfiles %}
<html>
<head>
  {% load dajaxice_templatetags %}
  <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
  <title>test</title>
  <!-- more user's own js -->
  <script src="http://code.jquery.com/jquery-1.8.3.min.js" type="text/javascript"></script>
  <script type="text/javascript" src="/resources/js/ajax-csrf.js"></script>
  <script src="/resources/dajax/jquery.dajax.core.js" type="text/javascript" charset="utf-8"></script>
  
  {% dajaxice_js_import %}
</head>
<body>
<a href='#' onclick='Dajaxice.dt.test(hello);'>click me</a><br />
<a href='#' onclick='Dajaxice.dt.test2(Dajax.process);'>click me V2</a>
<script language='javascript'>
function hello(data) {
  alert(data.message);
}
</script>
</body>
</html>